<?php

$dirName = ".//data/企业内部开发.90000/附录.90139/深色模式适配指南.94555.txt";
$dirNameShort = preg_replace("/.[0-9]+/", '', $dirName);
var_dump($dirName, $dirNameShort);

